package com.yicong.ants.bean;

import com.yicong.ants.manager.UserManager;

/**
 * 构建订单数据Bean
 */
public class BuildOrderParamsBean {
    /**
     * 用户id
     */
    private String user_id;
    /**
     * 价格
     */
    private float price;
    /**
     * 商品id
     */
    private String packageid;
    /**
     * 收货人姓名
     */
    private String username;
    /**
     * 收货手机号
     */
    private String mobile;
    /**
     * 收货人地址,详细的
     */
    private String address;
    /**
     * 订单类型:1=套餐升级,2=购买的订单
     */
    private int order_type;
    /**
     * 订单数量
     */
    private int order_num;

    private String sign;

    public BuildOrderParamsBean(float price, String packageid, String username,
                                String mobile, String address, int order_type, int order_num,
                                String sign) {
        this.user_id = UserManager.getUserId();
        this.price = price;
        this.packageid = packageid;
        this.username = username;
        this.mobile = mobile;
        this.address = address;
        this.order_type = order_type;
        this.order_num = order_num;
        this.sign = sign;
    }

    public String getSign() {
        return sign;
    }

    public String getUser_id() {
        return user_id;
    }

    public float getPrice() {
        return price;
    }

    public String getPackageid() {
        return packageid;
    }

    public String getUsername() {
        return username;
    }

    public String getMobile() {
        return mobile;
    }

    public String getAddress() {
        return address;
    }

    public int getOrder_type() {
        return order_type;
    }

    public int getOrder_num() {
        return order_num;
    }
}
